import request from '@/request/index.js';


// 获取病历列表
export function getMedicalRecordList(pid) {
	return request.get({
		url: '/his/app-api/getMedicalRecordList',
		params: {
			pid: pid
		},
		custom: {
			title: "获取病历列表",
			authentication: true
		}
	});
}


// 获取病历详情
export function getMedicalRecordDetails(mid) {
	return request.get({
		url: '/his/app-api/getMedicalRecordDetails',
		params: {
			mid: mid
		},
		custom: {
			title: "获取病历详情",
			authentication: true
		}
	});
}